package com.example.extra.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author lixiang
 */
@Data
@AllArgsConstructor
@Schema(description = "JWT令牌响应")
public class JwtResponse {

    @Schema(description = "访问令牌", example = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...")
    private String access_token;

    @Schema(description = "过期时间")
    private Integer expires_in;

}
